<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http：//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <include file="Pub:head"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/Style.css" />

    <script type="text/javascript">
        function delfeetype(id){
            if(confirm("确定要删除该收支类型吗？"))
            {
                var url= "__URL__/delfeetype/id/"+id;
                window.location.assign(url);
            }
        }

        function editfeetype(id){
            top.Dialog.open({URL:"__APP__/finance/addfeetype/id/"+id,Title:"编辑收支类型",Width:600,Height:400});
        }

    </script>

</head>
<body>

<div class="box1">
    <fieldset style="border-color:#999999;">
        <legend>财务收支类型</legend>

        <div class="box2" panelTitle="功能面板" id="searchPanel">
            <table>
                <tr>
                    <td>
                        <button type="button" onclick='top.Dialog.open({URL:"__APP__/finance/addfeetype/",Title:"添加收支类型 ",Width:600,Height:180});'>
                            <span class="icon_add">新增类型</span></button>
                    </td>

                </tr>
            </table>
        </div>

        <table class="tableStyle" >
            <tr>
                <th width="">类型名称</th>
                <th>收支类型</th>
                <th>排序序号</th>
                <th>操作</th>
            </tr>
            <volist name="feetypeList" id="vo">
                <tr>
                    <td>{$vo['feename']}</td>
                    <td> <switch name="vo.type">
                        <case value="1">收入</case>
                        <case value="2">支出</case>
                        <default />
                    </switch></td>
                    <td>{$vo['ordernum']}</td>
                    <td>
                        <a href="javascript:void(0);"  onclick="editfeetype({$vo['id']});"> 编辑 </a> /
                        <a  href="javascript:void(0);"  onclick="delfeetype({$vo['id']});">删除</a>
                    </td>
                </tr>
            </volist>


        </table>

        <div id="TourExPage" class="page">{$page_method}</div>
    </fieldset>
</div>



</body>
</html>